<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Report.aspx.cs" Inherits="Report" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
    </style>

   <script language="JavaScript" type="text/javascript" src="scripts/Report.js"></script><%--Added by Jayashree on 12-Sep-2014,for js file--%>
          
</head>
<body >
<form id="form1" runat="server">
<table width="100%">
    <tr style="font-size: 8pt; width: 100%;" class="defaultFont">
        <td runat="server" align="right">
            &nbsp;<img alt="Back" class="SearchPopup" id="imgback" src="Images/Backward.gif" runat="server" />
    <asp:LinkButton ID="lnkimgback" runat="server" BorderStyle="None" /></td>
    </tr>
    <tr style="font-size: 8pt; width:100%" class="defaultFont">
        <td id="td_param" runat="server" align="center">
        </td>
    </tr>
    <tr style="font-size: 8pt; width:100%" class="defaultFont">
        <td id="Td1" runat="server" align="center">
            <asp:Button ID="btn_Generate" runat="server" OnClick="btn_Generate_Click" Text="Generate Report"
                Visible="False" UseSubmitBehavior="False" />
        </td>
    </tr>
    </table>
    <table width="100%">
<tr style="font-size:8pt;" class="defaultFont">
<td align="left"  colspan="3" valign="top">
    <asp:Label ID="lbFF" runat="server" Text="File Format : "></asp:Label>
    &nbsp;&nbsp;<asp:DropDownList ID="ddlFileFormat" runat="server" Width="120px" OnSelectedIndexChanged="ddlFileFormat_SelectedIndexChanged" AutoPostBack="True" CssClass="controlFont">
        <asp:ListItem>--Select a Format--</asp:ListItem>
        <asp:ListItem Value="Excel">Excel</asp:ListItem>
        <asp:ListItem>PDF</asp:ListItem>
    </asp:DropDownList>&nbsp;
    <asp:LinkButton ID="lnkExport" runat="server" OnClick="btnExport_Click" Enabled="False">Export</asp:LinkButton>&nbsp;
    <asp:LinkButton ID="lnkPrint" runat="server" OnClick="btnPrint_Click" Visible="False">Print</asp:LinkButton></td>
<td width="45%" align="right" >
    &nbsp;&nbsp;
    
    &nbsp;<asp:Button ID="btnPrint" runat="server" Text="Print" UseSubmitBehavior="False" CausesValidation="False" OnClick="btnPrint_Click" Visible="False" />
    <asp:Button ID="btnExport" runat="server" Text="Export" OnClick="btnExport_Click" Visible="False" /></td>
</tr>
</table>
   <%-- <table>
        <tr>
            <td>--%>
                <rsweb:ReportViewer ID="ReportViewer1" runat="server" CssClass="defaultFont" Font-Size="8pt"
                    Width="100%" Height="630px" DocumentMapWidth="100%" ShowRefreshButton="False" SizeToReportContent="True" ShowExportControls="False">
                    <LocalReport EnableExternalImages="True">
                        <DataSources>
                            <rsweb:ReportDataSource DataSourceId="SqlDataSource1" Name="DataSet1" />
                        </DataSources>
                    </LocalReport>
                </rsweb:ReportViewer>
    &nbsp;
<%--            </td>
        </tr>
    </table>--%>
    
    <%--<table style="width: 100%; height: 100%" border="1">
        <tr style="width: 100%; height: 100%">
            <td style="width: 100%; height: 100%">
            </td>
        </tr>
    </table>--%>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ProviderName="System.Data.SqlClient">
    </asp:SqlDataSource>
</form>
</body>
</html>
